package com.carworld.model;

import com.jfinal.plugin.activerecord.Db;

public class CommonQuery {

    public Long fidCardTypeByUserIdAndCompany(String companyId,String level){
        String sql="select t.card_type_id from card_type t where t.card_type_level=? and t.card_type_company=?";
        return Db.queryLong(sql,companyId,level);
    }
}
